package com.example.superoa.model.pojos;

import java.io.Serializable;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;
import java.util.List;
/**
 * The persistent class for the staff database table.
 * 
 */
@Entity
@NamedQuery(name="Ruzhi.findAll", query="SELECT r FROM Ruzhi r")
public class Ruzhi implements Serializable{

	@Id
	@Column(name="id")
	private Integer id;

	@Temporal(TemporalType.DATE)
	private Date birthday;

	@Temporal(TemporalType.DATE)
	private Date dateentry;

	private String education;

	private String idaddress;

	private String localaddress;

	private String marriage;

	private String national;

	private String qq;

	private String name;

	private String phone;

	private String political;

	private String sex;

	private String tupian;

	@Column(name="staff_type")
	private Integer staffType;

	private String urgent;

	@Column(name="urgent_phone")
	private String urgentPhone;

	private String weixin;

	private Integer zhengjian;

	private String zhengjianhao;
	
	@Temporal(TemporalType.DATE)
	private Date ht_start;
	
	@Temporal(TemporalType.DATE)
	private Date ht_end;
	
	@Temporal(TemporalType.DATE)
	private Date ht_finish;
	
	private Integer shpi;
	
	private Integer Depart_id;
	
	private Integer position_id;
	
	private Integer ht_type;
	private Integer sfzz;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Date getDateentry() {
		return dateentry;
	}

	public void setDateentry(Date dateentry) {
		this.dateentry = dateentry;
	}

	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public String getIdaddress() {
		return idaddress;
	}

	public void setIdaddress(String idaddress) {
		this.idaddress = idaddress;
	}

	public String getLocaladdress() {
		return localaddress;
	}

	public void setLocaladdress(String localaddress) {
		this.localaddress = localaddress;
	}

	public String getMarriage() {
		return marriage;
	}

	public void setMarriage(String marriage) {
		this.marriage = marriage;
	}

	public String getNational() {
		return national;
	}

	public void setNational(String national) {
		this.national = national;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPolitical() {
		return political;
	}

	public void setPolitical(String political) {
		this.political = political;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getTupian() {
		return tupian;
	}

	public void setTupian(String tupian) {
		this.tupian = tupian;
	}

	public int getStaffType() {
		return staffType;
	}

	public void setStaffType(int staffType) {
		this.staffType = staffType;
	}

	public String getUrgent() {
		return urgent;
	}

	public void setUrgent(String urgent) {
		this.urgent = urgent;
	}

	public String getUrgentPhone() {
		return urgentPhone;
	}

	public void setUrgentPhone(String urgentPhone) {
		this.urgentPhone = urgentPhone;
	}

	public String getWeixin() {
		return weixin;
	}

	public void setWeixin(String weixin) {
		this.weixin = weixin;
	}

	public int getZhengjian() {
		return zhengjian;
	}

	public void setZhengjian(int zhengjian) {
		this.zhengjian = zhengjian;
	}

	public String getZhengjianhao() {
		return zhengjianhao;
	}

	public void setZhengjianhao(String zhengjianhao) {
		this.zhengjianhao = zhengjianhao;
	}

	public Date getHt_start() {
		return ht_start;
	}

	public void setHt_start(Date ht_start) {
		this.ht_start = ht_start;
	}

	public Date getHt_end() {
		return ht_end;
	}

	public void setHt_end(Date ht_end) {
		this.ht_end = ht_end;
	}

	public Date getHt_finish() {
		return ht_finish;
	}

	public void setHt_finish(Date ht_finish) {
		this.ht_finish = ht_finish;
	}

	public int getShpi() {
		return shpi;
	}

	public void setShpi(int shpi) {
		this.shpi = shpi;
	}

	public int getDepart_id() {
		return Depart_id;
	}

	public void setDepart_id(int depart_id) {
		Depart_id = depart_id;
	}

	public int getPosition_id() {
		return position_id;
	}

	public void setPosition_id(int position_id) {
		this.position_id = position_id;
	}

	public int getHt_type() {
		return ht_type;
	}

	public void setHt_type(int ht_type) {
		this.ht_type = ht_type;
	}

	public Integer getSfzz() {
		return sfzz;
	}

	public void setSfzz(Integer sfzz) {
		this.sfzz = sfzz;
	}

	
}
